package com.shzu.mapper;

import com.shzu.pojo.MajorCourseInfo;
import com.shzu.pojo.MajorCourseInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MajorCourseInfoMapper {
    int countByExample(MajorCourseInfoExample example);

    int deleteByExample(MajorCourseInfoExample example);

    int deleteByPrimaryKey(String mid);

    int insert(MajorCourseInfo record);

    int insertSelective(MajorCourseInfo record);

    List<MajorCourseInfo> selectByExample(MajorCourseInfoExample example);

    MajorCourseInfo selectByPrimaryKey(String mid);

    int updateByExampleSelective(@Param("record") MajorCourseInfo record, @Param("example") MajorCourseInfoExample example);

    int updateByExample(@Param("record") MajorCourseInfo record, @Param("example") MajorCourseInfoExample example);

    int updateByPrimaryKeySelective(MajorCourseInfo record);

    int updateByPrimaryKey(MajorCourseInfo record);
}